What is ps4 controller flashing white light then orange?

When a PS4 controller flashes a white light followed by an orange light, it usually indicates that the controller is charging. The white light indicates that the controller is plugged in and receiving power, while the orange light indicates that the battery is charging. Once the battery is fully charged, the orange light will turn off and the controller will be ready for use. If the controller continues to flash an orange light even after several hours of charging, it may indicate that the battery needs to be replaced. In some cases, the flashing lights may also be due to an issue with the controller's connection to the console or a firmware problem, which can be resolved by resetting the controller or updating its firmware.